home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / all macintosh / streaming / qtspacketizerreassembler / imaaudiortp / headers / rtpmpimaaudioresources.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.6 KB  |  74 lines

  1. /*
  2.     File:        RTPMPIMAAudioResources.h
  3.  
  4.     Contains:    Declarations for IMA Audio RTPMediaPacketizer resources
  5.  
  6.     Copyright:    © 1997-1999 by Apple Computer Inc. all rights reserved.
  7.  
  8. */
  9.  
  10.  
  11.  
  12. #ifndef __RTPMPCOMPONENTVIDEORESOURCES__
  13. #define __RTPMPCOMPONENTVIDEORESOURCES__
  14.  
  15.  
  16.  
  17. #include "IMAAudioRTPResources.h"
  18.  
  19.  
  20.  
  21. /* ---------------------------------------------------------------------------
  22.  *        M A C R O S
  23.  * ---------------------------------------------------------------------------
  24.  */
  25.  
  26. /*    change these for your component */
  27. /*    type and ID have to match what's in the code warrior project! */
  28.  
  29. #define COMPONENT_NAME_STRING                    "Sample IMA Audio Media Packetizer"
  30. #define COMPONENT_INFO_STRING                    "Sample IMA Audio Media Packetizer"
  31.  
  32. #define COMPONENT_ENTRY_POINT_STRING            "RTPMPIMAAudio_ComponentDispatch"
  33. #define COMPONENT_PPC_PEF_STRING                "RTPMPIMAAudio.pef"
  34. #define COMPONENT_68K_CODE_STRING                "RTPMPIMAAudio.rsrc"
  35.  
  36.  
  37.  
  38. enum
  39. {
  40.     kComponentType                    = kRTPMediaPacketizerType,
  41.     kComponentSubType                = kIMAAudioDataFormat
  42. };
  43.  
  44. enum
  45. {
  46.     kComponentBaseID                = 128,
  47.     kComponentBaseIDPPC                = kComponentBaseID
  48. };
  49.  
  50. #define kComponentBaseID68K            ( kComponentBaseID + 1 )
  51.  
  52. enum
  53. {
  54.     kComponentVersion                = 0x00010001,
  55.     kComponentFlags                    = 0
  56. };
  57.  
  58. #define kComponentRegFlags            ( componentDoAutoVersion | componentHasMultiplePlatforms )
  59.  
  60. enum
  61. {
  62.     kRTPMPIMAAudioStringListResource            = kComponentBaseID,
  63.         kRTPMPIMAAudioProtocolEncodingString    = 1,
  64.         kRTPMPIMAAudioHIEncodingString            = 2,
  65.         kRTPMPIMAAudioSettingsString            = 3,
  66.         kRTPMPIMAAudioNoInterleavingString        = 4,
  67.     
  68.     kRTPMPIMAAudioSettingsDialogResource        = kComponentBaseID
  69. };
  70.  
  71.  
  72.  
  73. #endif /* __RTPMPCOMPONENTVIDEORESOURCES__ */
  74.